﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using DevM.Authorization.Roles;
using DevM.Authorization.Users;
using DevM.MultiTenancy;
using DevM.Development.Resources;
using DevM.Development.ReleaseRecords;
using DevM.Development.Projects;
using DevM.Development.DynamicInfomations;
using DevM.Development.DataMigration;

namespace DevM.EntityFrameworkCore
{
    public class DevMDbContext : AbpZeroDbContext<Tenant, Role, User, DevMDbContext>
    {
        /* Define a DbSet for each entity of the application */

        public virtual DbSet<Resource> Resources { get; set; }
        public virtual DbSet<Feedback> Feedbacks { get; set; }
        public virtual DbSet<ReleaseLog> ReleaseLogs { get; set; }
        public virtual DbSet<ReleaseRecord> ReleaseRecords { get; set; }
        public virtual DbSet<Environment> Environments { get; set; }
        public virtual DbSet<Project> Projects { get; set; }
        public virtual DbSet<DynamicInfomation> DynamicInfomations { get; set; }
        public virtual DbSet<InformationResource> InformationResources { get; set; }
        public virtual DbSet<Config> Configs { get; set; }
        public virtual DbSet<Data> Datas { get; set; }
        public virtual DbSet<Database> Databases { get; set; }
        public virtual DbSet<RecordResource> RecordResources { get; set; }

        public DevMDbContext(DbContextOptions<DevMDbContext> options)
            : base(options)
        {
        }
    }
}
